package com.jingyanzi.privilege.domain;

public class JobsDO extends BaseDO implements java.io.Serializable {

	/**
	 * baseDO里面
	 * 
	 *  id 数据库主键
	 *  code 唯一编码
	 *  pCode 父级编码
	 *  sortNum 排序值 
	 * 
	 */
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7941892946927048282L;
	
	/**
	 * 机构ID
	 */
	private Integer orgId;
	
	
	/**
	 * 机构ID
	 */
	private Integer parentId;
	
	
	private String pName;

	/**
	 * 名称
	 */
	private String name;
	
	/**
	 * 部门（后台业务处理）
	 */
	private String department;

	public Integer getOrgId() {
		return orgId;
	}

	public void setOrgId(Integer orgId) {
		this.orgId = orgId;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getpName() {
		return pName;
	}

	public void setpName(String pName) {
		this.pName = pName;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	@Override
	public String toString() {
		return "JobsDO [orgId=" + orgId + ", name=" + name + ", department=" + department + "]";
	}

	/*public JobsDO() {
		
		this.orgId = 23;
		this.parentId = 1;
		this.pName = "xxxx";
		this.name = "xxx";
		this.department = "xxx";
	}*/

}
